﻿<%@ Page Language="C#"
    AutoEventWireup="true"
    CodeBehind="List.aspx.cs" 
    MasterPageFile="~/Medianamik/MasterPages/MedianamikModule.master"
    Inherits="Medianamik.UI.Web.Shop.ShopAttributeList" %>
    
<%@ Import Namespace="Medianamik.Core" %>

<%@ Register TagName="AttributeGrid" Src="~/medianamik/shop/attribute/AttributeGrid.ascx" TagPrefix="shop" %>
    
<asp:Content ContentPlaceHolderID="ContextMenu" runat="server">
    <asp:HyperLink ID="lnkAddNode" runat="server"
        Target="_self"
        CssClass="Action BtAjouter"
        Text="<%$ Resources: Medianamik_ContentManagement, NewNodeButtonText %>" />
</asp:Content>

<asp:Content ContentPlaceHolderID="CenterContent" runat="server">
    <%= BreadcrumbTrail %>
    <shop:AttributeGrid runat="server" ID="AttributeGrid" />
    <p class="Titre12pxBordure"><asp:Literal runat="server" Text="<%$ Resources: Medianamik_ContentManagement, CaptionLabel %>" /></p>
    <ul id="Legende" style="float:left; clear: left;">
        <li class="Selection">
            <div><span></span></div>
            <asp:Literal ID="Literal1" runat="server" Text="<%$ Resources: Medianamik_ContentManagement, SelectedContentCaption %>"></asp:Literal>
        </li>
        <li class="ElementNonTraduit">
            <div><span></span></div>
            <% // TODO trad %>
            <asp:Literal runat="server" Text="Attribut non-éditable" />
        </li>
    </ul>
    <ul id="Legende" style="float:left; margin-left: 10px">
        <li class="Picto"> 
            <img src="/Medianamik/images/Icones/Ico_ProprieteObligatoire.png" class="IconeLabel" alt="" />&nbsp;&nbsp;<asp:Literal runat="server" Text="Attribut obligatoire"></asp:Literal>
        </li> 
        <li class="Picto"> 
            <img src="/Medianamik/images/Icones/Ico_ProprieteNeutreLangue.png" class="IconeLabel" alt="" />&nbsp;&nbsp;<asp:Literal runat="server" Text="Attribut traduit dans toutes les langues"></asp:Literal>
        </li> 
    </ul>
    <br style="clear: both;" />
</asp:Content>

<asp:Content ID="ExternalContent" ContentPlaceHolderID="ExternalContentHolder" runat="server">
    <telerik:RadScriptBlock runat="server" ID="ScriptBlock">
        <script type="text/javascript">
            //<![CDATA[
               
            <%= Medianamik.UI.Utility.GetTypeSelectedScript(EditPageUrl,
                false,
                DefaultParamNames.ParentNodeID,
                DefaultParamNames.TypeID,
                Grid.EditReturnUrl) %>

            //]]>
        </script>
    </telerik:RadScriptBlock>
</asp:Content>
